﻿using System.IO;

namespace Learun.Application.OA.File.FilePreview
{
    public interface FilePreviewIBLL
    {
        /// <summary>
        /// excel文档
        /// <summary>
        /// <returns></returns>
        void GetExcelData(string path);
        /// <summary>
        /// word文档
        /// <summary>
        /// <returns></returns>
        void GetWordData(string path);
        /// <summary>
        /// ppt文档
        /// <summary>
        /// <returns></returns>
        void GetPptData(string path);

        /// <summary>
        /// 将Pptx文档转换为HTML
        /// <summary>
        /// <returns></returns>
        void ConvertPptxToHtml(string oldPath, string newPath);

        /// <summary>
        /// tif文档
        /// </summary>
        /// <param name="path"></param>
        void GetTifData(string path);
        /// <summary>
        /// txt文档
        /// </summary>
        /// <param name="path"></param>
        void GetTxtData(string path);
    }
}